<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('follow')}">跟进记录列表</a></li>
		</ul>
		<form class="well form-inline margin-top-20" method="get" action="">
			跟进时间:
			<input type="text" class="form-control js-bootstrap-date" name="start_time"
				   value="{:input('start_time/s')}"
				   style="width: 140px;" autocomplete="off">-
			<input type="text" class="form-control js-bootstrap-date" name="end_time"
				   value="{:input('end_time/s')}"
				   style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
			关键字:
			<input type="text" class="form-control" name="keyword" style="width: 200px;"
				   value="{:input('keyword/s')}" placeholder="请输入关键字..."> &nbsp;&nbsp;
			<input type="submit" class="btn btn-primary" value="搜索"/>
			<a class="btn btn-danger" href="{:url('follow')}">清空</a>
		</form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th>跟进时间</th>
					<th width="400">跟进内容</th>
					<th>跟进人</th>
					<th>公司名称</th>
					<th>到期时间</th>
					<th>录入人</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="lists" item="vo">
				<tr>
					<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
					<td>{$vo.remark}</td>
					<td>{$vo.user_nickname}</td>
					<td>{$vo.company}</td>
					<td>{$vo.end_time|date="Y-m-d",###}</td>
					<td>{$vo.cusername}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}<li><a>共计 {$lists->total()} 条</a></li></div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>